function MainTower(options) {
	this.setPosition(options.position);
	this.setMap(options.map);
	this.life = options.life;
	this.icon = options.icon;
	
	label = new Label({map: options.map}, this.life, "Vida");
    label.bindTo('life', this, 'life');
    label.bindTo('position', this, 'position');
    this.label = label;

    this.setLife = function(life) {
        this.life = life;
        this.label.draw();
    };

	this.getLife = function() {
		return this.life;
	}

}

function MainTowerFactory() {};

MainTowerFactory.create = function(options) {
	return new MainTower(options);
};

MainTower.prototype = new google.maps.Marker();